﻿using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Text;

namespace Mozhi.Abp.Core.Files
{
    public class FileClientFactory
    {
        public static IFileClient Instance(IConfiguration configuration , Guid organizationId)
        {
            var type = configuration["File:Type"];

            if(type == "Ftp")
                return new FluentFTPFileClient(configuration , organizationId);

            return null;
        }
    }
}
